package com.baitengsoft.patentapimonitor.api.service;

import com.baitengsoft.patentapimonitor.api.entity.LogUserinfoHistoryEntity;
import com.baitengsoft.patentapimonitor.api.entity.WebUserinfoEntity;
import com.baitengsoft.patentapimonitor.api.model.SearchPage;
import com.baitengsoft.patentapimonitor.api.model.dto.WebDto;
import com.baitengsoft.patentapimonitor.common.utils.PageResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by Admin on 2017/12/28.
 */
public interface LogUserinfoHistoryService {

    PageResult<LogUserinfoHistoryEntity> searchHistoryLog(String userName, SearchPage param);

    List<WebDto> searchById(String idStr);

    boolean saveLog(HttpServletRequest request, WebUserinfoEntity userInfo);
}
